home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
comm
/
bbs
/
trionbbs100.lha
/
Trion
/
scripts
/
viewarchive
< prev
next >
Wrap
AmigaDOS Script File
|
1997-06-30
|
800b
|
48 lines
.KEY file,archive,desc
;.DEF file=nix
.BRA <
.KET >
;wait 60 secs
;;; This script will be executed after the 'View' command is given
;;; in the BBS , and tries to examine an archive.
;;; archive = "RAW" | "ZIP | "LHA" | "LZX" | "ZOO" | "ARJ" | "ARC" | "DMS"
IF <archive> EQ raw
; echo "Not an archive or unknown archive type." ><desc>
trion:utils/unpack L <file> ><desc> ;; Info on GIF and JPG
EndIf
IF <archive> EQ zip
unzip -v <file> ><desc>
EndIf
IF <archive> EQ lha
lha l <file> ><desc>
EndIf
IF <archive> EQ lzx
lzx l <file> ><desc>
EndIf
IF <archive> EQ zoo
zoo -list <file> ><desc>
EndIf
IF <archive> EQ arj
unarj l <file> ><desc>
EndIf
IF <archive> EQ arc
arc l <file> ><desc>
EndIf
IF <archive> EQ dms
dms View <file> FULL ><desc>
EndIf